package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_DEPARTMENT database table.
 * 
 */
@Entity
@Table(name="HIS_DEPARTMENT")
@NamedQuery(name="HisDepartment.findAll", query="SELECT h FROM HisDepartment h")
public class HisDepartment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="KS_NO")
	private long ksNo;

	@Column(name="KS_NAME")
	private String ksName;

	@Temporal(TemporalType.DATE)
	@Column(name="KS_WORK_DATE")
	private Date ksWorkDate;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisDepartment() {
	}

	public long getKsNo() {
		return this.ksNo;
	}

	public void setKsNo(long ksNo) {
		this.ksNo = ksNo;
	}

	public String getKsName() {
		return this.ksName;
	}

	public void setKsName(String ksName) {
		this.ksName = ksName;
	}

	public Date getKsWorkDate() {
		return this.ksWorkDate;
	}

	public void setKsWorkDate(Date ksWorkDate) {
		this.ksWorkDate = ksWorkDate;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}